package cn.com.dycc.sys_manage.t_class.entity;

import java.io.Serializable;
import java.sql.Timestamp;

public class t_class implements Serializable{

	/**
	 * 
	 */
	private static final long serialVersionUID = -5975738445802857688L;
	
	private String id;
	private String class_name;
	private Integer order_no;
	private String state;
	private String org_id;
	private Timestamp create_date;
	private String opt_user_id;
	private String update_date;
	private String update_user_id;
	
	public t_class(){}

	public t_class(String id, String class_name, Integer order_no, String state, String org_id,
			Timestamp create_date, String opt_user_id, String update_date, String update_user_id) {
		super();
		this.id = id;
		this.class_name = class_name;
		this.order_no = order_no;
		this.state = state;
		this.org_id = org_id;
		this.create_date = create_date;
		this.opt_user_id = opt_user_id;
		this.update_date = update_date;
		this.update_user_id = update_user_id;
	}

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}


	public String getClass_name() {
		return class_name;
	}

	public void setClass_name(String class_name) {
		this.class_name = class_name;
	}

	public Integer getOrder_no() {
		return order_no;
	}

	public void setOrder_no(Integer order_no) {
		this.order_no = order_no;
	}

	public String getState() {
		return state;
	}

	public void setState(String state) {
		this.state = state;
	}

	public String getOrg_id() {
		return org_id;
	}

	public void setOrg_id(String org_id) {
		this.org_id = org_id;
	}

	public Timestamp getCreate_date() {
		return create_date;
	}

	public void setCreate_date(Timestamp create_date) {
		this.create_date = create_date;
	}

	public String getOpt_user_id() {
		return opt_user_id;
	}

	public void setOpt_user_id(String opt_user_id) {
		this.opt_user_id = opt_user_id;
	}

	public String getUpdate_date() {
		return update_date;
	}

	public void setUpdate_date(String update_date) {
		this.update_date = update_date;
	}

	public String getUpdate_user_id() {
		return update_user_id;
	}

	public void setUpdate_user_id(String update_user_id) {
		this.update_user_id = update_user_id;
	}

	@Override
	public String toString() {
		return "t_class [id=" + id + ", class_name=" + class_name + ", order_no=" + order_no
				+ ", state=" + state + ", org_id=" + org_id + ", create_date=" + create_date + ", opt_user_id="
				+ opt_user_id + ", update_date=" + update_date + ", update_user_id=" + update_user_id + "]";
	}

	@Override
	public int hashCode() {
		final int prime = 31;
		int result = 1;
		result = prime * result + ((id == null) ? 0 : id.hashCode());
		return result;
	}

	@Override
	public boolean equals(Object obj) {
		if (this == obj)
			return true;
		if (obj == null)
			return false;
		if (getClass() != obj.getClass())
			return false;
		t_class other = (t_class) obj;
		if (id == null) {
			if (other.id != null)
				return false;
		} else if (!id.equals(other.id))
			return false;
		return true;
	}
	
	
	

}
